package com.lll.protocol;

import lombok.Data;

import java.io.Serializable;

@Data
public abstract class AbstractResponseMessage implements Serializable {
    private static final long serialVersionUID = -1765140027030295333L;
    private boolean success;
    private String reason;

    public AbstractResponseMessage() {
    }

    public AbstractResponseMessage(boolean success, String reason) {
        this.success = success;
        this.reason = reason;
    }
}
